﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x0200126F RID: 4719
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class SummonActivityData : IMessage<SummonActivityData>, IMessage, IEquatable<SummonActivityData>, IDeepCloneable<SummonActivityData>, IBufferMessage
	{
		// Token: 0x17003BD8 RID: 15320
		// (get) Token: 0x0600D3B2 RID: 54194 RVA: 0x0023A2D9 File Offset: 0x002384D9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<SummonActivityData> Parser
		{
			get
			{
				return SummonActivityData._parser;
			}
		}

		// Token: 0x17003BD9 RID: 15321
		// (get) Token: 0x0600D3B3 RID: 54195 RVA: 0x0023A2E0 File Offset: 0x002384E0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return SummonActivityDataReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003BDA RID: 15322
		// (get) Token: 0x0600D3B4 RID: 54196 RVA: 0x0023A2F2 File Offset: 0x002384F2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return SummonActivityData.Descriptor;
			}
		}

		// Token: 0x0600D3B5 RID: 54197 RVA: 0x0023A2F9 File Offset: 0x002384F9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SummonActivityData()
		{
		}

		// Token: 0x0600D3B6 RID: 54198 RVA: 0x0023A301 File Offset: 0x00238501
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SummonActivityData(SummonActivityData other) : this()
		{
			this.groupId_ = other.groupId_;
			this.star_ = other.star_;
			this.fightStageId_ = other.fightStageId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600D3B7 RID: 54199 RVA: 0x0023A33E File Offset: 0x0023853E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SummonActivityData Clone()
		{
			return new SummonActivityData(this);
		}

		// Token: 0x17003BDB RID: 15323
		// (get) Token: 0x0600D3B8 RID: 54200 RVA: 0x0023A346 File Offset: 0x00238546
		// (set) Token: 0x0600D3B9 RID: 54201 RVA: 0x0023A34E File Offset: 0x0023854E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint GroupId
		{
			get
			{
				return this.groupId_;
			}
			set
			{
				this.groupId_ = value;
			}
		}

		// Token: 0x17003BDC RID: 15324
		// (get) Token: 0x0600D3BA RID: 54202 RVA: 0x0023A357 File Offset: 0x00238557
		// (set) Token: 0x0600D3BB RID: 54203 RVA: 0x0023A35F File Offset: 0x0023855F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Star
		{
			get
			{
				return this.star_;
			}
			set
			{
				this.star_ = value;
			}
		}

		// Token: 0x17003BDD RID: 15325
		// (get) Token: 0x0600D3BC RID: 54204 RVA: 0x0023A368 File Offset: 0x00238568
		// (set) Token: 0x0600D3BD RID: 54205 RVA: 0x0023A370 File Offset: 0x00238570
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint FightStageId
		{
			get
			{
				return this.fightStageId_;
			}
			set
			{
				this.fightStageId_ = value;
			}
		}

		// Token: 0x0600D3BE RID: 54206 RVA: 0x0023A379 File Offset: 0x00238579
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as SummonActivityData);
		}

		// Token: 0x0600D3BF RID: 54207 RVA: 0x0023A388 File Offset: 0x00238588
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(SummonActivityData other)
		{
			return other != null && (other == this || (this.GroupId == other.GroupId && this.Star == other.Star && this.FightStageId == other.FightStageId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600D3C0 RID: 54208 RVA: 0x0023A3E4 File Offset: 0x002385E4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.GroupId != 0U)
			{
				num ^= this.GroupId.GetHashCode();
			}
			if (this.Star != 0U)
			{
				num ^= this.Star.GetHashCode();
			}
			if (this.FightStageId != 0U)
			{
				num ^= this.FightStageId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600D3C1 RID: 54209 RVA: 0x0023A455 File Offset: 0x00238655
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600D3C2 RID: 54210 RVA: 0x0023A45D File Offset: 0x0023865D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600D3C3 RID: 54211 RVA: 0x0023A468 File Offset: 0x00238668
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Star != 0U)
			{
				output.WriteRawTag(32);
				output.WriteUInt32(this.Star);
			}
			if (this.FightStageId != 0U)
			{
				output.WriteRawTag(88);
				output.WriteUInt32(this.FightStageId);
			}
			if (this.GroupId != 0U)
			{
				output.WriteRawTag(104);
				output.WriteUInt32(this.GroupId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600D3C4 RID: 54212 RVA: 0x0023A4E0 File Offset: 0x002386E0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.GroupId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.GroupId);
			}
			if (this.Star != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Star);
			}
			if (this.FightStageId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.FightStageId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600D3C5 RID: 54213 RVA: 0x0023A550 File Offset: 0x00238750
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(SummonActivityData other)
		{
			if (other == null)
			{
				return;
			}
			if (other.GroupId != 0U)
			{
				this.GroupId = other.GroupId;
			}
			if (other.Star != 0U)
			{
				this.Star = other.Star;
			}
			if (other.FightStageId != 0U)
			{
				this.FightStageId = other.FightStageId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600D3C6 RID: 54214 RVA: 0x0023A5B4 File Offset: 0x002387B4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600D3C7 RID: 54215 RVA: 0x0023A5C0 File Offset: 0x002387C0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 32U)
				{
					if (num != 88U)
					{
						if (num != 104U)
						{
							this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
						}
						else
						{
							this.GroupId = input.ReadUInt32();
						}
					}
					else
					{
						this.FightStageId = input.ReadUInt32();
					}
				}
				else
				{
					this.Star = input.ReadUInt32();
				}
			}
		}

		// Token: 0x040054C8 RID: 21704
		private static readonly MessageParser<SummonActivityData> _parser = new MessageParser<SummonActivityData>(() => new SummonActivityData());

		// Token: 0x040054C9 RID: 21705
		private UnknownFieldSet _unknownFields;

		// Token: 0x040054CA RID: 21706
		public const int GroupIdFieldNumber = 13;

		// Token: 0x040054CB RID: 21707
		private uint groupId_;

		// Token: 0x040054CC RID: 21708
		public const int StarFieldNumber = 4;

		// Token: 0x040054CD RID: 21709
		private uint star_;

		// Token: 0x040054CE RID: 21710
		public const int FightStageIdFieldNumber = 11;

		// Token: 0x040054CF RID: 21711
		private uint fightStageId_;
	}
}
